package com.anti.jdbc.core.storeprocedure;

/**
 * @Description TODO
 * @Author anTi
 * @Date 2020-10-6
 */
public class SpBeanParamter {
    private String name;
    private int type;
    private ParamInOut inOut;

    public SpBeanParamter(String name, Class type, ParamInOut inOut) {
        this.name = name;
        this.type = SpParamTypeMapping.getSqlType(type);
        this.inOut = inOut;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return this.type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public ParamInOut getInOut() {
        return this.inOut;
    }

    public void setInOut(ParamInOut inOut) {
        this.inOut = inOut;
    }
}
